package com.autoagent.ai_live_master.scriptGeneration.entity;

import com.autoagent.ai_live_master.scriptGeneration.Enum.FileStatusEnum;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("complete_scripts")
public class CompleteScripts {
    
    @TableId(type = IdType.AUTO)
    private Long id;
    
    private Long userId;
    
    private String fileName;
    
    private String content;

    private String filePath;

    private FileStatusEnum status;

    private Integer version;
    
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createdAt;
    
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updatedAt;
}